<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <%@ include file="/common/CimsCommon.jsp" %>
   <title>修改合约</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link rel="stylesheet" href="<%=basePath%>/css/cims/style.css">
   
    <script type="text/javascript">
   
   		$(document).ready(function(){
   			var isPlan = $("#dtoisPlan").val();
   			$("#costPlan option[value='"+isPlan+"']").attr("selected","true");
   		});
   
   </script>
   
</head>
  
<body style="background-color:#FFFFFF">
<div id="formPageSwap">
  <br/>
	<form id="updateNewsFormData" name="addNewsFormData" isCheck="true" action="com.jy.modules.cims.common.controller.TCMmContractController">
	 	<input type="hidden" class="text" id="dtoid" name="id" maxLength="11" value="${dto.id}" />
	 	<div class="expandSwap">
			<div class="ui-widget-header ui-corner-all">
				<span class="text">合约基本信息</span><span class="expandBtn"></span>
			</div>
			<div class="expandContent">
				<%@include file="/common/cims/tcmmContractContent.jsp"%>
			</div>
		</div>
		<div class="expandToolbar">
	 		<c:if test="${action ne 'view'}">
				<span class="submitBtn cims_pointer" onclick="doUpdateFrom();">保存</span>
			</c:if>
			<span class="submitBtn cims_pointer" onclick="parent.tabs.close();">关闭</span>
		</div>
<!-- 保存 关闭 按钮 在 查询页面进行控制 -->  
	</form>
	<div class="tableToolbar">
		<ul>
			 <li><a href="<%=basePath%>/tCMmCreditSettleParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmCreditSettleParam">债权结算参数</a></li>
			<li><a href="<%=basePath%>/tCMmDefaultParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmDefaultParam">违约信息参数</a></li>
			<%--<li><a href="<%=basePath%>/tCMmRiskfeeParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmRiskfeeParam">风险金计提</a></li>
			<li><a href="<%=basePath%>/tCMmRedeemParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmRedeemParam">赎回参数</a></li> --%>
			<li><a href="<%=basePath%>/tCMmContractConstraint/prepareExecute/toQueryPage" target="childIframe" id="tCMmContractConstraint">合约债权约束</a></li>
			<%-- <li><a href="<%=basePath%>/tCMmFeeSettleParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmFeeSettleParam">费用结算参数</a></li>
			<li><a href="<%=basePath%>/tCMmBillParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmBillParam">账单参数</a></li>
			<li><a href="<%=basePath%>/tCMmBailParam/prepareExecute/toQueryPage" target="childIframe" id="tCMmBailParam">担保信息参数</a></li> --%>
		</ul>
	</div>
	<iframe name="childIframe" class="cims_childIframe"></iframe>
</div>
<script type="text/javascript" src="${basePath}/js/cims/paramManage/queryTCMmContract.js"></script>
<script type="text/javascript" src="${basePath}/js/cims/paramManage/jyAndPartner.js"></script>
</body>

<script type="text/javascript">
   $(document).ready(function(){
   		checkedInit();
   		Cmm.util.dateInputInit("updateNewsFormData");
   		window.contractCode="${dto.contractCode}";
   		window.action="${action}"
   		cascadeCooperOrgAgreement("dtocooperorgCode","dtoagreementCode");
	});
</script>
  
</html>
